<?php 
class Admin_Model_TableColumn_Customer {
	
	protected $id;
    protected $ten_khach_hang;
    protected $mo_ta;
    protected $nguoi_tao;
    protected $ten_nguoi_tao;
    protected $ngay_tao;
    protected $nguoi_cap_nhat;
    protected $ten_nguoi_cap_nhat;
    protected $ngay_cap_nhat;
    protected $trang_thai;
    
	public function __construct(array $options = null) {
        if (is_array($options)) {
            $this->setOptions($options);
        }
    }

    public function setOptions(array $options) {
        $methods = get_class_methods($this);
        
        foreach ($options as $key => $value) {
            $method = 'set' . ucfirst($key);
            
            if (in_array($method, $methods)) {
                $this->$method($value);
            }
        }
        return $this;
    }

    public function __set($name, $value) {
        $method = 'set' . $name;
        
        if (('mapper' == $name) || !method_exists($this, $method)) {
            throw new Exception('Invalid content property');
        }
        
        $this->$method($value);
    }

    public function __get($name) {
        $method = 'get' . $name;
        
        if (('mapper' == $name) || !method_exists($this, $method)) {
            throw new Exception('Invalid content property');
        }
        
        return $this->$method();
    }

	public function getId() {
        return $this->id;
    }

    public function setId($id) {
        $this->id = $id;
    }

	public function getTen_khach_hang() {
        return $this->ten_khach_hang;
    }

    public function setTen_khach_hang($ten_khach_hang) {
        $this->ten_khach_hang = $ten_khach_hang;
    }

    public function getNguoi_tao() {
        return $this->nguoi_tao;
    }

    public function setNguoi_tao($nguoi_tao) {
        $this->nguoi_tao = $nguoi_tao;
    }

	public function getNgay_tao() {
        return $this->ngay_tao;
    }

    public function setNgay_tao($ngay_tao) {
        $this->ngay_tao = $ngay_tao;
    }

	public function getNguoi_cap_nhat() {
        return $this->nguoi_cap_nhat;
    }

    public function setNguoi_cap_nhat($nguoi_cap_nhat) {
        $this->nguoi_cap_nhat = $nguoi_cap_nhat;
    }

    public function getNgay_cap_nhat() {
        return $this->ngay_cap_nhat;
    }

    public function setNgay_cap_nhat($ngay_cap_nhat) {
        $this->ngay_cap_nhat = $ngay_cap_nhat;
    }

	public function getMo_ta() {
        return $this->mo_ta;
    }

    public function setMo_ta($mo_ta) {
        $this->mo_ta = $mo_ta;
    }
    
	public function getTrang_thai() {
        return $this->trang_thai;
    }

    public function setTrang_thai($trang_thai) {
        $this->trang_thai = $trang_thai;
    }
    
	public function getTen_nguoi_cap_nhat() {
		return $this->ten_nguoi_cap_nhat;
	}
	
	public function setTen_nguoi_cap_nhat($ten_nguoi_cap_nhat) {
		$this->ten_nguoi_cap_nhat = $ten_nguoi_cap_nhat;
	}
	
	public function getTen_nguoi_tao() {
		return $this->ten_nguoi_tao;
	}
    
	public function setTen_nguoi_tao($ten_nguoi_tao) {
		$this->ten_nguoi_tao = $ten_nguoi_tao;
	}

}
?>